@keyframes viewlinear{
  from{
    opacity: 1;
  }
  to{
    opacity: 0;
  }
}
@keyframes rotate{
  from{
    transform: rotate(360deg)
  }
  to{
    transform: rotate(0deg)
  }
}
@keyframes sliddown{
  from{
    top:-80px
  }
  to{
    top:-500px
  }
}

.banner{
  position: fixed;
  left:0;
  right:0;
  top:0;
  bottom:0;
  width:750rpx;
  // opacity: 0.8;
  background-color:rgba(0,0,0,0.8);
  // background: url('%ASSETS_IMG%/l-redrain-banner1@2x.png') no-repeat;
  // background-size: contain;
}

.top{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:128rpx;
  z-index: 99;
  opacity: 1;
}

.bottom{
  position: fixed;
  bottom:0;
  left:0;
  right:0;
  width:100%;
  height:200rpx;
  z-index: 99;
  opacity: 1;
}

.packet-item{
  transition-property:transform,top;
  transform-origin:50% 50% 0;
  -webkit-transition-property:transform,top;
  -webkit-transform-origin:50% 50% 0;
}

.red-packet{
  position: relative;
  width: 80px;
  height: 75px;
  
  // animation:rotate 5s linear 1s infinite;
}

// .time{
//   font-size: 100rpx;
//   margin: 500rpx auto;
//   text-align: center;
// }


.none{
  display: none;
}

.block{
  animation: viewlinear 2s 1;
  // animation-name: viewlinear;
  // animation-duration: 1s;
  // animation-timing-function: linear;
  // animation-iteration-count: infinite;
  animation-fill-mode: forwards;
  position: relative;
  
}

.empty{
  width: 74px;
  height: 57px;
  background: url('images/l-redrain-empty@2x.png') no-repeat;
  background-size: contain;
}

.content{
  position: fixed;
  width:100%;
  height:100%;
  background-color: #000000;
  opacity: 0.8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  .top{
    margin-top:244rpx;
    font-size: 60rpx;
    color:#fffdc5;
  }
  .time{
    margin-top:410rpx;
    font-size: 240rpx;
    color:#fffdc5;
  }
}